package com.orphan.audit.dao;

import com.orphan.audit.po.Discount;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yichen
 * @since 2021-07-14
 */
@Mapper
public interface DiscountMapper extends BaseMapper<Discount> {
    @Select("select * from t_discounting")
    List<Discount> getAll();
}
